package xyz.lwm.lazycat.annotation;

import xyz.lwm.lazycat.aop.InvocationHandler;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * <h3>环绕切面</h3>
 * <p>指定拦截器, 快速切面</p>
 *
 * @author lwm
 */
@Inherited
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Around {

    /**
     * 拦截器
     */
    Class<? extends InvocationHandler> value();

}
